import Vue from 'vue'
import {
  Aside,
  Button,
  Carousel,
  CarouselItem,
  Container,
  Footer,
  Header,
  Main,
  Message,
  Pagination,
  Table,
  TableColumn,
  TabPane,
  Tabs,
  Loading
} from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

Vue.use(Button)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Container)
Vue.use(Header)
Vue.use(Main)
Vue.use(Aside)
Vue.use(Footer)
Vue.use(Pagination)
Vue.use(Tabs)
Vue.use(TabPane)
// Vue.use(Message)

Vue.prototype.$message = Message
Vue.prototype.$loading = Loading.service
